Companion

object Companion

Functions

Link copied to clipboard
fun fromConfiguration(context: Context, foldingFeature: ERROR CLASS: Symbol not found for androidx.window.layout.FoldingFeature?? = null): UiModeType

EN Returns the UiModeType corresponding to the Configuration.uiMode value, taking into account physical foldable features using Jetpack WindowManager.